home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13951 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.3 KB

  1. Path: howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!cmcl2!news!schonberg!dewar
  2. From: dewar@cs.nyu.edu (Robert Dewar)
  3. Newsgroups: comp.lang.ada,comp.lang.c++
  4. Subject: Re: some questions re. Ada/GNAT from a C++/GCC user
  5. Date: 27 Mar 1996 22:22:37 -0500
  6. Organization: Courant Institute of Mathematical Sciences
  7. Message-ID: <dewar.827983273@schonberg>
  8. References: <wnewmanDoxrCp.DKv@netcom.com>
  9. NNTP-Posting-Host: schonberg.cs.nyu.edu
  10. X-Newsreader: NN version 6.5.0 (NOV)
  11.  
  12. Bill asked:
  13.  
  14. The Ada Programming FAQ pooh-poohs STL, but I like it.  (Yes, I know I
  15. could write my own versions of what I need, but a bunch of Ada
  16. programmers shouldn't need to be told that that's not the ideal
  17. solution.)  This FAQ also says the Booch components library is coming
  18.  
  19.   Those opinions do not represent the opinions of all in the Ada community
  20.   by any means. The STL is a remarkable piece of work in my opinion. There
  21.   is some very nice work going on at Rensaleer rewriting STL in Ada.
  22.  
  23. Does GNAT completely implement generics as defined in the standard?
  24.  
  25.   Yes
  26.  
  27. I *assume* that GNAT supports exceptions completely
  28.  
  29.   You assume correctly
  30.  
  31. I didn't notice anything about garbage collection in the GNAT docs, so
  32. I assume it doesn't support it.  Will GNAT support GC in the
  33. foreseeable future?
  34.  
  35.   We have no such plans. Several volunteers have mentioned projects to
  36.   this effect. Perhaps you would like to help in this area!
  37.  
  38. How well does GDB work with GNAT output?
  39.  
  40.   Very well. We have used GDB for years to debug GNAT itself, and many
  41.   of our customers have used it to debug large programs. There are
  42.   areas where improvements are possible and planned, particularly
  43.   in the tasking area.
  44.  
  45.   You assume correctly
  46.  
  47. I didn't notice anything about garbage collection in the GNAT docs, so
  48. I assume it doesn't support it.  Will GNAT support GC in the
  49. foreseeable future?
  50.  
  51.   We have no such plans. Several volunteers have mentioned projects to
  52.   this effect. Perhaps you would like to help in this area!
  53.  
  54. How well does GDB work with GNAT output?
  55.  
  56.   Very well. We have used GDB for years to debug GNAT itself, and many
  57.   of our customers have used it to debug large programs. There are
  58.   areas where improvements are possible and planned, particularly
  59.   in the tasking area.
  60.  
  61. Is it possible to get GDB to
  62. interactively call arbitrary procedures/functions from GNAT-generated
  63. code?
  64.  
  65.   Yes.
  66.  
  67. When I make two different instantiations of a generic package with the
  68. same arguments, I understand the compiler treats them formally as two
  69. different packages, which is OK with me.  However, I'd appreciate
  70. knowing the compiler wouldn't actually output two redundant copies of
  71. the corresponding (identical?) machine code, but instead share the
  72. code.
  73.  
  74.   It is not easy in general to share code. GNAT always generates separate
  75.   code which results in optimizing time at the expense of space.
  76.   There are no plans to change this. (Note of course that plans can
  77.   always be changed by customers with requirements and $$$$)
  78.  
  79. Can someone give me an idea what kind of compilation speed I could
  80. expect from GNAT on a 486DX2/66 with 20 Mb of RAM, for projects of
  81. 1,000-50,000 lines?
  82.  
  83.   Why not just try it? the cost of a trial copy of GNAT is not expensive!
  84.   Generally we see compilation speeds of several thousand lines a minute
  85.   on such machines, but there are many variables.
  86.  
  87. Robert Dewar
  88. Ada Core Technologies
  89.  
  90.